<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="sj" uri="/struts-jquery-tags"%>

<s:form name="formBody" id="formBody">

<s:hidden name="start"/>
<s:hidden name="count"/>
<s:hidden name="orderBy"/>
<s:hidden name="ascDesc"/>
<s:hidden name="previousPage"/>
<s:hidden name="gotoPage"/>
<s:hidden name="actionMethod" value="%{actionMethod}"/>
<s:token/>

<div class="header"><span><span class="ico gray administrator"></span>Daftar Kurir</span>
</div><!-- End header -->
<div class="content" >
	
		<!-- Third / Half column-->
		<div class="widgets">
				<div class="section" >
					<label>Nama Kurir</label>
					<div> <input type="text" name="namaKurir" class="large"/></div>
					<div class="section last">
						<s:submit action="%{actionMethod}" value="Cari" indicator="indicator" cssClass="uibutton" cssStyle="width:100px"/> 
					</div>
				</div>
		</div><!-- End Third / Half column-->
	
   <!-- clear fix -->
<div class="clear"></div>

<!-- >/div>
<div class="content" -->

		<div class="tableName">
			<table class="display data_table1">
				<thead>
					<tr>
						<th><div class="th_wrapp"><s:text name="label.no"/></div></th>
						<th>Wilayah</th>
						<th>Nama Kurir</th>
						<th >Action</th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="listKurir" status="sequence">
					<tr class="odd gradeX">
					    <td><s:property value="%{start+#sequence.index+1}"/></td>
						<td><s:property value="bpnRegion.reqionName"/></td>
						<td><s:property value="name"/></td>
						<td class="center">
							<span class="tip" >
                            	<a href="KurirAction_add.do?id=<s:property value="%{@com.lemurian.bankdata.lite.utils.GlobalFunction@encodeParameter(id)}"/>" title="Edit" ><img src="images/icon/icon_edit.png" ></a>
                         	</span> 
	                         <span class="tip" >
	                             <a modulTitle="Kurir" modulRef="KurirAction_delete.do?id=<s:property value="%{@com.lemurian.bankdata.lite.utils.GlobalFunction@encodeParameter(id)}"/>" id="<s:property value="%{@com.lemurian.bankdata.lite.utils.GlobalFunction@encodeParameter(id)}"/>" class="Delete" name="<s:property value="name"/>" title="Delete"  ><img src="images/icon/icon_delete.png" ></a>
	                         </span>
						</td>
					</tr>
					</s:iterator>
				</tbody>
			</table>
			
			<div>
				<a href="KurirAction_add.do" class="uibutton icon add" style="float: left" >tambah kurir</a>
				<s:property value="%{pagerItem}" escape="false"/>
				<div class="clear"></div>
			</div>
		
		</div>
	
   <!-- clear fix -->
<div class="clear"></div>

</div><!-- End content -->
</s:form>